<template>
  <div>
    <div class="mx">
      <van-nav-bar
        title="考试详情"
      ></van-nav-bar>
      <div>
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>高等数学</span>
            <!--<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>-->
          </div>

          <div class="text item">学分：2</div>
          <div class="text item">时间：2018 12-20 16：00-18：30</div>
          <!--<div v-for="o in 4" :key="o" class="text item">-->
            <!--{{'列表内容 ' + o }}-->
          <!--</div>-->
        </el-card>
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>线性代数</span>
            <!--<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>-->
          </div>
          <div class="text item">学分：2</div>
          <div class="text item">时间：2018 12-25 16：00-18：30</div>
        </el-card>
      </div>
    </div>
    <div class="navbar">
      <nav-tab-bar></nav-tab-bar>
    </div>
  </div>
</template>

<script>
  import NavTabBar from "./NavTabBar";

  export default {
    name: "ExamMsg",
    components: {NavTabBar}
  }
</script>

<style scoped>
  .text {
    font-size: 14px;
  }

  .item {
    margin-bottom: 18px;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }

  .box-card {
    width: 480px;
    margin-top: 5px;
  }
</style>
